package com.xtkj.superclub_information.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.multipart.MultipartFile;

/**
 * @author lizheqi
 * @create 2020-01-07-15:55
 */
@FeignClient("SUPERCLUB-FASTDFS")
public interface IUploadClient {

    @RequestMapping(value = "/fastdfs/upload",method = RequestMethod.POST)
    String contextLoads(@RequestBody MultipartFile file);
}
